<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('申请内容详细')" />
	<th:block th:include="include :: jsonview-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
		<div class="form-group ">
			<label class="col-sm-2 control-label">申请内容id：</label>
			<div class="form-control-static" th:text="${contents.contentId} ">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">申请类型：</label>
			<div class="form-control-static" th:text="${contents.typeName}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">申请人：</label>
			<div class="form-control-static" th:text="${contents.empName}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">审批状态：</label>
            <div th:if="${contents.status}==0">
			<div class="form-control-static"  th:class="'label label-success' " th:text="通过">
			</div>
			</div>
			<div th:if="${contents.status}==1">
				<div class="form-control-static"  th:class=" 'label label-danger' " th:text="未通过">
				</div>
			</div>
			<div th:if="${contents.status}==2">
				<div class="form-control-static"  th:class=" 'label label-default' " th:text="未审批">
				</div>
			</div>
		</div>
		<div th:if="${contents.status}!=2">
		<div class="form-group">
			<label class="col-sm-2 control-label">审批原因：</label>
			<div class="form-control-static" th:text="${contents.cause}">
			</div>
		</div>
		</div>

		<div class="form-group">
			<label class="col-sm-2 control-label">申请内容描述：</label>
			<div class="form-control-static" th:text="${contents.remark}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label">申请内容：</label>
			<div class="form-control-static" th:text="${contents.contentText}">
			</div>
		</div>


	</form>
</div>


</body>
</html>